package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 管理员权限关联表
 * </p>
 *
 * @author linKe
 * @since 2021-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("rbac_manager_perm")
@ApiModel(value="RbacManagerPerm对象", description="管理员权限关联表")
public class RbacManagerPerm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员ID")
    @TableId(value = "manager_id", type = IdType.AUTO)
    private Integer managerId;

    @ApiModelProperty(value = "权限ID")
    @TableField("perm_id")
    private Integer permId;


}
